package com.yicong.ants.bean.order;

/**
 * @author cchao
 * @version 2019-09-26.
 */
public class SubmitOrderResp {
    String ordersn;

    public SubmitOrderResp() {
    }

    public String getOrdersn() {
        return this.ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof SubmitOrderResp)) return false;
        final SubmitOrderResp other = (SubmitOrderResp) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$ordersn = this.getOrdersn();
        final Object other$ordersn = other.getOrdersn();
        if (this$ordersn == null ? other$ordersn != null : !this$ordersn.equals(other$ordersn))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SubmitOrderResp;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $ordersn = this.getOrdersn();
        result = result * PRIME + ($ordersn == null ? 43 : $ordersn.hashCode());
        return result;
    }

    public String toString() {
        return "SubmitOrderResp(ordersn=" + this.getOrdersn() + ")";
    }
}
